<?php

namespace App\Http\Controllers; //空间路径

use Illuminate\Http\Request;  //request类

class MyController extends Controller //继承了Controller
{
    //代码空间
    public function text1()
    {
        return '这是text1方法';
    }
}
